package com.wfk.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 积分购买记录
 * </p>
 *
 * @since 2019-01-13
 */
@TableName("t_order_goods")
public class OrderGoods implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableField(exist=false)
	private String start;
	@TableField(exist=false)
	private String end;
	
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 订单号
	 */
	private String orderid;

	private String goodsCode;

	private Integer cid;

	/**
	 * 规则
	 */
	private String specName;

	/**
	 * 图片
	 */
	private String imgurl;

	private String title;

	/**
	 * 支付单号
	 */
	private String paycode;

	/**
	 * 支付方式
	 */
	private Integer paytype;

	/**
	 * 收货人手机号
	 */
	private String phone;

	/**
	 * 联系人
	 */
	private String name;

	/**
	 * 收货详细地址
	 */
	private String address;

	/**
	 * 价格
	 */
	private BigDecimal price;

	/**
	 * 数量
	 */
	private Integer qty;

	/**
	 * 支付时间
	 */
	private BigDecimal paymoney;

	/**
	 * 状态 1 待发货 2已发货 3已完成 -1失败
	 */
	private Integer status;

	/**
	 * 支付时间
	 */
	@JSONField(format="yyyy-MM-dd HH:mm")
	private Date paytime;
	@JSONField(format="yyyy-MM-dd HH:mm")
	private Date createtime;
	
	private String remark;
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getRemark() {
		return remark;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getImgurl() {
		return imgurl;
	}

	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPaycode() {
		return paycode;
	}

	public void setPaycode(String paycode) {
		this.paycode = paycode;
	}

	public Integer getPaytype() {
		return paytype;
	}

	public void setPaytype(Integer paytype) {
		this.paytype = paytype;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getQty() {
		return qty;
	}

	public void setQty(Integer qty) {
		this.qty = qty;
	}

	public BigDecimal getPaymoney() {
		return paymoney;
	}

	public void setPaymoney(BigDecimal paymoney) {
		this.paymoney = paymoney;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getPaytime() {
		return paytime;
	}

	public void setPaytime(Date paytime) {
		this.paytime = paytime;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}
	
	
}
